package com.sdp.flow.db.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sdp.core.bizc.vo.DataCenter;
import com.sdp.flow.db.entity.ActHiProcinst;
import com.sdp.flow.db.mapper.ActHiProcinstMapper;
import com.sdp.flow.db.service.IActHiProcinstService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author qcy
 * @since 2021-07-07
 */
@Service
public class ActHiProcinstServiceImpl extends ServiceImpl<ActHiProcinstMapper, ActHiProcinst> implements IActHiProcinstService {

	@Autowired
	private ActHiProcinstMapper mapper;
	
	@Override
	public <T> int viewCount(QueryWrapper<T> queryWrapper) {
		// TODO Auto-generated method stub
		return mapper.viewCount(queryWrapper);
	}

	@Override
	public <T> List<T> viewList(QueryWrapper<T> queryWrapper, DataCenter dc) {
		return mapper.viewList(queryWrapper);
	}

	@Override
	public <T> IPage<T> viewPage(IPage<T> page, QueryWrapper<T> queryWrapper, DataCenter dc) {
		return mapper.viewPage(page, queryWrapper);
	}



}
